package api

import (
	v1 "asoul-fan/museum-api/internal/open_api/api/v1"
	"asoul-fan/museum-api/internal/open_api/service_context"
	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
)

type RouterRegister struct {
	svc    *service_context.ServiceContext
	logger *zap.Logger
}

func NewRouterRegister(svc *service_context.ServiceContext, logger *zap.Logger) *RouterRegister {
	return &RouterRegister{
		svc:    svc,
		logger: logger,
	}
}

func (rr *RouterRegister) RegisterHandlers(r *gin.Engine) {
	r.GET("/hello-word", v1.HelloWord(rr.svc))
}
